package dbmig.model;

import org.jetbrains.annotations.NotNull;
import dbmig.util.Strings;



/**
 * Oracle database context.
 */
public class OracleContext extends AbstractContext
{

    @Override
    public String convertLogicNameToCatalog(final @NotNull String name)
    {
        return name.toUpperCase();
    }


    @Override
    public String convertCatalogNameToLogic(final @NotNull String catalogName)
    {
        return Strings.capitalize(catalogName);
    }


    @Override
    public String convertLogicNameToScript(final @NotNull String name)
    {
        return name;
    }

}
